<template>
    <div class="view-content">
        <table-preview :resData="resData"></table-preview>
        <div class="un-submit">
            <el-button type="primary" @click="handleUnSubmit" round>修订</el-button>
        </div>
    </div>
</template>

<script>
import {ApplygointoUnSubmit} from "@/service/api";
import tablePreview from '@/components/reviewsManage/tablePreview'
export default {
    name: "reviewsView",
    data() {
        return {
        }
    },
    props:['resData'],
    components:{
        tablePreview,
    },
    created() {

    },
    methods:{
        handleUnSubmit() {
            ApplygointoUnSubmit().then(res => {  //筛选查询数据
                if (res.code == 200) {
                    location.reload()
                }
            });
        },
    },
}
</script>

<style scoped>
.view-content{
    min-height: 520px;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 9px 8px 2px rgba(43, 103, 254, 0.05);
    border-radius: 5px;
    overflow: hidden;
    padding-bottom: 40px;
}


.un-submit {
    margin: 0 auto;
    text-align: center;
}
.un-submit .el-button{
    width: 100px;
}
</style>
